/*
 * TAN-Manager
 * Copyright (C) 2011 Bernhard Bermeitinger
 * E-Mail: bernhard.bermeitinger@googlemail.com
 * Link:   https://code.google.com/p/tan-management/
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package tan_manager;

import java.awt.Color;
import java.util.ResourceBundle;

/**
 * This class provides all constants that are used in the program.
 *
 * @author Bernhard Bermeitinger
 */
public class Constants {

    /**
     * Utility class. Don't instantiate me.
     */
    private Constants() {}

    public final static ResourceBundle textbundle = ResourceBundle.getBundle("tan_manager.locale.TextResource");

    /**
     * Default string of the label where the TAN should be afterwards.
     */
    public final static String DEFAULT_TAN = textbundle.getString("DEFAULT_TAN");

    /**
     * Indicates if a TAN is deleted
     */
    public final static String DELETION_FLAG = "##";

    /**
     * Delimiter.
     */
    public final static String DELIMITER = ";";

    /**
     * Count of still valid TANs when user get warned.
     */
    public final static int WARNING_NR = 5;

    /**
     * Standard text for the numberField.
     */
    public final static String DEFAULT_NUMBERFIELD = "";

    /**
     * Standard color of text.
     */
    public final static Color STANDARD_TEXTCOLOR = new Color(51, 51, 51);

    /**
     * Ending of the files that contains the TANs.
     */
    public final static String FILE_ENDING = ".txt";
}
